package IMIC.NGUYENVANTINH.OOP.LEVEL2.EX2;

public class Models {	
	
	public double OctagonArea(Octagon objOctagon){
		return (2+4*Math.sqrt(2))*(objOctagon.getSide()*objOctagon.getSide());
	}
	public double OctagonPerimeter(Octagon objOctagon){
		return 8*objOctagon.getSide();
	}
}
